package com.fitness.front.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fitness.front.modal.course.dto.CoursePlanDto;
import com.fitness.front.modal.course.entity.CoursePlan;
import com.fitness.front.modal.course.params.CoursePlanPageQueryParams;
import com.fitness.front.modal.course.vo.CoursePlanVO;

import java.util.List;

public interface ICoursePlanService extends IService<CoursePlan> {
    Page<CoursePlanVO> getCoursePlanPage(CoursePlanPageQueryParams queryParams);

    boolean addCoursePlan(CoursePlanDto equipmentDto);

    boolean updateCoursePlan(CoursePlanDto equipmentDto);

    List<CoursePlanVO> getCourPlansVOByCourseId(Long id);

    boolean batchAdd(List<CoursePlanDto> planDtos);
}
